import * as types from './mutation_types'

export default {
  [types.TAGS_SET_RETRIEVED] (state, retrieved) {
    Object.assign(state, {
      retrieved
    })
    sessionStorage.setItem('tagsList', JSON.stringify(retrieved))
  }
}
